/*
 * Copyright (C) 2010 TopCoder Inc., All Rights Reserved.
 */
package com.hercules.android.receiver.commands;

/**
 * <p>
 * This exception will be thrown if any error occurs when processing the command
 * message.
 * </p>
 * 
 * @author TCSASSEMBER
 * @version 1.0
 */
public class XRECommandHandlerException extends Exception {
    /**
     * Represents the serial version unique id.
     */
    private static final long serialVersionUID = -1366600892217981111L;

    /**
     * Create a new exception with error message.
     * 
     * @param message
     *            the error message
     */
    public XRECommandHandlerException(String message) {
        super(message);
    }

    /**
     * Create a new exception with error message and inner cause.
     * 
     * @param message
     *            the error message
     * @param cause
     *            the inner cause
     */
    public XRECommandHandlerException(String message, Throwable cause) {
        super(message, cause);
    }
}
